<script setup lang="ts">
import { computed, inject } from 'vue';
const data: any = inject('data')
const info = computed(() => {
  return data.value?.pc_pqo_ph_list||[]
})

</script>
<template>
  <table>
    <caption>机构查询记录明细</caption>
    <tr>
      <th>编号</th>
      <th>查询日期</th>
      <th>查询机构</th>
      <th>查询原因</th>
    </tr>
      <tr v-for="(item, i) in info" :key="i">
        <td>{{ i + 1 }}</td>
        <td>{{ item.PH010R01 }}</td>
        <td> {{ ( item.PH010D01 + item.PH010Q02).replace('福建永鸿兴融资担保有限公司','Q1') }}</td>
        <td>{{ item.PH010Q03 }}</td>
      </tr>
  </table>
</template>